package com.gzbsoft.sc.modules.app.form;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
@Data
@ApiModel(value = "注册表单")
public class RegisterForm {
    @ApiModelProperty(value = "手机号")
    @NotBlank(message = "手机号不能为空")
    private String mobile;
    @ApiModelProperty(value = "密码")
    @NotBlank(message = "密码不能为空")
    private String password;
    @ApiModelProperty(value = "用户类型: 1: 个人用户, 2: 商家, 3: 商家子账号")
    private String userType;
    @ApiModelProperty(value = "验证码")
    @NotBlank(message = "验证码不能为空")
    private String securityCode;
}
